
	
/****** Object:  Stored Procedure [dbo].tblOpicCodeInsert    Script Date: Thursday, October 27, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblOpicCodeInsert]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblOpicCodeInsert]
GO

	
	

/******************************************************************************
**		File: 
**		Name: [dbo].sptblOpicCodeInsert
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 27/10/2011 17:41:38
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblOpicCodeInsert
	@CustomerName varchar(128),
	@CustomerBranch varchar(3),
	@OpicsCode varchar(20),
	@Portfolio varchar(20)
AS

-- THIS STORED PROCEDURE NEEDS TO BE MANUALLY COMPLETED
-- MULITPLE PRIMARY KEY MEMBERS OR NON-GUID/INT PRIMARY KEY

INSERT INTO [dbo].[tblOpicCode] (
	[CustomerName],
	[CustomerBranch],
	[OpicsCode],
	[Portfolio]
) VALUES (
	@CustomerName,
	@CustomerBranch,
	@OpicsCode,
	@Portfolio
)

GO
	
